!
Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags. |
Bring-up a robot in the Gazebo simulation environment
Description: Robot bring-up in simulationTutorial Level: BEGINNER
Next Tutorial: Read and visualize your robot sensors
Setting the gazebo will bring-up the robot in the Gazebo simulation environment. All other arguments will work exactly the same but now the sensors and the capabilities will work in simulation instead with the real robot. All the topics, services and actions will keep the same name and functionality.
For example, if you want the robot from the example in the previous tutorial but now in simulation, just add gazebo:=true to your arguments:
$ roslaunch robotican_armadillo armadillo.launch lidar:=true front_camera:=true gazebo:=true
x,y,z,R,P,Y - Initial position and orientation of the robot.
world_name - By default, the worlds/empty.world' will be loaded. You can specify a new world file name with respect to GAZEBO_RESOURCE_PATH environmental variable or a full path to any other world file.